<meta charset="UTF-8">

<div class="modal fade" id="confirm-delete" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
	<div class="modal-dialog">
		<div class="modal-content">
			<div class="modal-header">
				操作确认
			</div>
			<div class="modal-body">
				确认删除该信息吗，删除后无法恢复
			</div>
			<div class="modal-footer">
				<button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
				<a class="btn btn-danger btn-ok">删除</a>
			</div>
		</div>
	</div>
</div>
<script type="text/javascript">
	$('#confirm-delete').on('show.bs.modal', function(e) {
	$(this).find('.btn-ok').attr('href', $(e.relatedTarget).data('href'));
	});
</script> 